﻿using System.Modules.SharePoint.Contracts.Enums;
using System.Modules.SharePoint.Constants;

namespace System.Modules.SharePoint.Contracts.DTO
{
    /// <summary>
    /// SP Query Project Property
    /// </summary>
    public class SPQueryProjectProperty : SPQueryViewField
    {
        #region Properties
        /// <summary>
        /// Name
        /// </summary>
        public SPQueryProjectPropertyName Name { get; set; }
        #endregion

        #region Methods
        public override string ToString()
        {
            return string.Format(SPQueryTemplates.PROJECT_PROPERTY, Name);
        } 
        #endregion
    }
}
